package pzl.kt.study

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
    }


    open fun click(view: View) {
        when (view.id) {
            R.id.btnTest1 -> {
                var intent = Intent(this, Test1Activity::class.java)
                startActivity(intent)
            }
        }

    }

}
